﻿using System;

namespace WindowsPhoneMvp.Phone
{
    /// <summary>
    /// Signifies that a Presenter should allow the view to inherit the Model in the DataContext 
    /// instead of creating a new instance.
    /// Use this attribute where the View is not at the root level ie. a Control.
    /// </summary>
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
    public class InheritModelAttribute : Attribute
    {

    }
}
